Command line utility :: Overview
ReaConverter Pro command line utility allows you to process image files in console mode using script file (*.wps) created by ReaConvertor Pro main program or using text script file (*.wpt) created by any text editor.
Format of usage the command line utility:
1) cons_pic.exe config.cfg script.wps
2) cons_pic.exe config.cfg script.wpt
3) cons_pic.exe config.cfg
or, if you do not need to print anything to the screen
1) cons_pic.exe config.cfg script.wps /hide
2) cons_pic.exe config.cfg script.wpt /hide
3) cons_pic.exe config.cfg /hide
Where config.cfg is configuration file like this:
[Common]
Source=c:\pictures
Ext_source=bmp
Destination=c:\result
Ext_dest=jpg
Same_date=0
Save_path=1
Use_FileList=
Read_Subfolders=0
Wmf_zoom=100
Overwrite=0
Delete_files=0
Eps_dpi=72
Raw_width=640
Raw_height=480
Raw_color=1
Raw_offset=0
Priority=3
[File name]
Prefix=new_
Suffix=_new
Prefix_num=0
Suffix_num=0
Add_prefix=1
Add_suffix=0
Leading_zeros=0
Digits=0
File_case=0
Ext_case=0
Replace_name=0
Substring_1=
Substring_2=
[Jpeg]
Quality=75
Size=50
Use_quality=1
Progressive=0
Color_model=0
[Gif]
Auto_color=0
Color_red=0
Color_green=0
Color_blue=0
Transparency=0
Interlaced=0
[Tif]
Compression=6
[Png]
Auto_color=1
Color_red=0
Color_green=0
Color_blue=0
Transparency=0
Interlaced=0
Compression=9
[Bmp]
Compressed=0
[Pcx]
Compressed=0
[Tga]
Compressed=0
[Jp2]
Quality=75
[Ico]
Multipage=0
Custom=1
Width=32
Height=32
Color_res=2
[Multipage]
Option=0
Multipage_prefix=0
Multipage_suffix=0
Add_multipage_prefix=0
Add_multipage_suffix=0
[Save_params]
Color_option=1
Bits_per_sample=8
Samples_per_pixel=1
Dpi_option=0
Dpi_x=72
Dpi_y=72
Copy_alpha=0
Copy_iptc=1
[Thumbnail]
Create=1
Destination=c:\
Jpg_quality=75
Jpg_res=72
Height=100
Width=150
Save_path=1
Prefix=thumb_
Suffix=_thumb
Add_prefix=0
Add_suffix=0
Ext_case=1
Case=1
Resize_type=1
Do_not_resize_if_less=0
Overwrite=0
And script.wpt is text script file like this:
Watermark(C:\NOT_REG.BMP;100;100;100)
Text_watermark(copy;50;50;90;Times New Roman;24;255;0;0;1;0;0;0;0)
Add_Border(5;128;128;128;1)
Rotate(90;1;128;128;128)
Mirror(1)
Crop(10;10;10;10)
Resize(100;100;1)
Canvas_Size(300;300;5;255;255;255)
HSV(0;0;0)
Smooth(0.75;50;1)
Blur(2.50;50)
Sharpen(0.75;50;1)
Detail(0.75;50;1)
Contour(1.00;100;1;1)
BCG(0;0.58;1.65;2)
RGB(30;0;0)
CMY(0;0;0)
YCbCr(0;0;0)
HLS(0;0;0)
Color_Replace(128;128;128;128;128;128;5)
Change_to_2(1)
Change_to_16(1)
Change_to_256(1)
Change_to_True
Change_to_Gray(1)
Change_to_Negative
See also: